﻿using Microsoft.VisualStudio.Shell;
using System;
using System.Runtime.InteropServices;

namespace VSAdditionalCommands.ToolWindows.DublicateFilesToolWindow
{
    [Guid("660b9142-4e6b-4564-8fc2-40646d39337d")]
    public class DublicateFilesToolWindow : ToolWindowPane
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="DublicateFilesToolWindow"/> class.
        /// </summary>
        public DublicateFilesToolWindow() : base(null)
        {
            this.Caption = "DublicateFilesToolWindow";

            // This is the user control hosted by the tool window; Note that, even if this class implements IDisposable,
            // we are not calling Dispose on this object. This is because ToolWindowPane calls Dispose on
            // the object returned by the Content property.
            var control = new DublicateFilesToolWindowControl();
            Content = control;
        }
    }
}
